package cn.tedu.charging.order.feign;

import cn.tedu.charging.common.protocol.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("charging-service-user")
public interface UserClient {
    @GetMapping("/user/info/{userId}")
    public JsonResult<Integer> getUserCarInfo(@PathVariable("userId") Integer userId);
}
